package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @program: report
 * @description:
 * @author: Bennie
 * @create: 2020-07-01 16:18
 **/

@TableName(value = "t_heat_chat_rule")
@Data
@Accessors(chain = true)
public class HeatChatRule {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.UUID)
    private String id;

    @JSONField(name = "Maximum")
    @TableField(value = "Maximum")
    private Integer maximum;

    @JSONField(name = "Minimum")
    @TableField(value = "Minimum")
    private Integer minimum;

    @JSONField(name = "ImageId")
    @TableField(value = "ImageId")
    private String imageId;

    @JSONField(name = "CreateUser")
    @TableField(value = "CreateUser")
    private String createUser;


    @JSONField(name = "CreateTime")
    @TableField(value = "CreateTime")
    private LocalDateTime createTime;

    @JSONField(name = "UpdateTime")
    @TableField(value = "UpdateTime")
    private LocalDateTime updateTime;

    @JSONField(name = "MallId")
    @TableField(value = "MallId")
    private String mallId;

    @JSONField(name = "MallName")
    @TableField(exist = false)
    private String mallName;

    @JSONField(name = "ImageUrl")
    @TableField(exist = false)
    private String imageUrl;
}
